package cn.itcast.com.Thread;

public class vs {
}

class Tool{
    void show(){ }
}
//单继承导致方式一无法实现
//class MyClass extends Tool,Thread{
//
//    public void run(){
//        show();
//    }
//}

class MyRunnable extends Tool implements Runnable{

    public void run(){
        show();
    }
}
